home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
12
/
9
/
DISK1298.ZIP
/
CHAP04.DOC
< prev
next >
Wrap
Text File
|
1988-10-24
|
23KB
|
945 lines
CHAPTER 4 - EDITING
EDIT COMMAND
_____________________________________________________________________
>Edit< Search Print Files Windows Utilities Quit
Edit file
_____________________________________________________________________
The Edit Command is used to modify an existing record or
add a new record to an open 3by5 file. Press [E]. If two
or more files are open, the program will list the files and
ask you to enter the number or name of the file that you
want to edit.
The program will then display the following at the bottom
of the screen:
_____________________________________________________________________
Edit Record: zzzzz
Records in file: yyyy
_____________________________________________________________________
Where yyyy is the number of records in the file and zzzzz
is the number of the record to edit. The program defaults
to the number of records in the file plus one. Pressing
<Enter> will automatically add another record to the file.
Otherwise type in the number of the record you want to
edit and press <Enter>.
21
3by5 Chapter 4
3by5 EDITOR
3by5's editor uses many of the same function keys as those
used by WordPerfect. Features include: word wrap, insert
and delete functions with automatic alignment of text,
numerous cursor control commands and block copy, move
and erase commands. It is not, however, a full word
processor.
When you first enter the editor, the cursor will be at
column one of line one. The 3by5 Status Line at the top
of the screen will display the name of the file and the
record number:
_____________________________________________________________________
3by5 Edit[A:\ADDRESS.3X5]#1
_____________________________________________________________________
At the bottom of the screen, the line number and column
number will be displayed on the right hand side of the 24th
line:
_____________________________________________________________________
Line 1 Col 1
<F1> Help <F7> Commands Mask ###-##-###
_____________________________________________________________________
The 25th line contains the message
"<F1> Help <F7> Commands"
22
EDITING
In the center of the 25th line the field type will be displayed
along with the format or mask.
For example: Numeric: 10.2
Date: mm/dd/yyyy
Time: hh:mm
Mask: ###-##-##
The editor allows you to enter up to 66 lines of text per
record, regardless of the number of characters (bytes) per
record. If you enter more characters than the record will
hold, the program can save only the number of bytes allocated
per record. To determine the number of bytes typed and the
number of bytes per record, press <Ctrl-F1> and the number of
bytes in the record will be displayed.
TEMPORARY TEXT BUFFER
3by5's Editor has one buffer that is used to temporarily store
blocks of text during copy and cut commands. The contents of
this buffer are erased each time you perform a new copy or
cut command.
The Search-Copy Command retrieves selected fields from a
record found during a search and places the text into the
Temporary Text Buffer. The contents of the buffer may be
inserted into any record you are editing.
23
3by5 Chapter 4
ENTERING TEXT
To enter text in a new record just type as you would with a
word processor. Words that extend beyond the right margin
are automatically wrapped down to the next line. Pressing
<Enter> indicates the end of a paragraph (or block of text) and
is indicated by a solid, left-pointing triangle. Text will not
wrap around an end of paragraph mark.
You may type over text by moving the cursor with the cursor
control keys to the appropriate position. Press <Ins> and the
message "OVER" will appear on the bottom line of the screen.
The program is now in overtype mode. Type the new text you
want to enter. If an end of paragraph (solid, left-facing
triangle) is encountered while over-typing, the program will
switch to Insert Mode.
DELETING TEXT ONE CHARACTER AT A TIME
You may delete the character at the current cursor position by
pressing <Del>. Each time you press <Del>, a character is
deleted. Text is automatically realigned as you delete
characters.
BACK SPACE
Pressing the back space key deletes the character to the left
of the cursor and moves the cursor to the left one space.
After backspacing, any movement of the cursor by the arrow
keys will realign the text.
24
EDITING
MOVING THE CURSOR
The 3by5 editor allows you to move the cursor by using the
following keys:
<Rt Arrow> or <Ctrl-D> cursor right one space
<Lt Arrow> or <Ctrl-S> cursor left one space
<Up Arrow> or <Ctrl-E> cursor up one line
<Down Arrow> or <Ctrl-X> cursor down one line
<Home> cursor to the beginning of the current line
<End> cursor to the end of the current line
<PgUp> cursor to the line 1 column 1
<PgDn> cursor to the last column of the last line of text
<F9> or <Ctrl-Enter> move the cursor from one field to the
start of the next field.
<Ctrl-Rt Arrow> or <Ctrl-F> cursor to the right one word
<Ctrl-Lt Arrow> or <Ctrl-A> cursor to the left one word
<Ctrl-End> delete from the cursor to the end of line
25
3by5 Chapter 4
FONTS: BOLD AND UNDERLINE
BOLD <F6>
While typing text: Press <F6> to designate the beginning of a
section of text to be printed in bold. Type the text. It will
be displayed in bold. When you are finished typing the text in
bold, press <F6> again to turn off bold.
Block of text: Use <Alt-F4> to turn on the block command;
define the block of text and press <F6>. The block of text
will be displayed in bold.
Alternatively, you can press <Alt-F4>, define a block of text
and then press <Alt-F4>. The following prompt will be
displayed:
_____________________________________________________________________
1 Cut 2 Copy 3 Delete 4 Underline 5 Bold 6 Block off: 0
_____________________________________________________________________
To convert the entire block of text to bold, press [5]. To
delete all bold within the block of text, press [3] and the
following prompt will be displayed:
_____________________________________________________________________
Delete: 1 Underline 2 Bold 3 Text: 0
_____________________________________________________________________
Press [2] to delete all bold in the block.
26
EDITING
UNDERLINE <F8>
While typing text: Press <F8> to designate the beginning of a
section of text to be underlined. Type the text. It will be
displayed with underline on monochrome monitors and in blue
on color monitors. When you are finished typing the text in
bold, press <F8> again to turn off underline.
Block of text: Use <Alt-F4> to turn on the block command;
define the block of text and press <F8>. The block of text
will be displayed in underline.
Alternatively, you can press <Alt-F4>, define a block of text
and then press <Alt-F4>. The following prompt will be
displayed:
_____________________________________________________________________
1 Cut 2 Copy 3 Delete 4 Underline 5 Bold 6 Block off: 0
_____________________________________________________________________
To convert the entire block of text to underline press [4]. To
delete all bold within the block of text, press [3] and the
following prompt will be displayed:
_____________________________________________________________________
Delete: 1 Underline 2 Bold 3 Text: 0
_____________________________________________________________________
Press [1] to delete all underline in the block.
27
3by5 Chapter 4
EDIT COMMANDS
Edit commands (such as block copy, print and quit) can be
issued by pressing <F7> for the following Edit Command Menu:
_____________________________________________________________________
Search Block Insert Retrieve Print Other Hold Quit
Search a file <F2>
_____________________________________________________________________
The Auto Help Line (bottom line) displays information
about the command and the function key that can be used
to issue the command without using the Edit Command
Menu. For example, the <F2> function key can be pressed
for the Search Command.
Many of the Edit Commands can also be issued by pressing
a function key. In the pages that follow the function key
assignments are indicated next to the name of the function.
EDIT-SEARCH Command <F2>
The Search Command is used to search the same file or
another while editing. Information from the search may be
placed in 3by5's temporary buffer and transferred to the
record being edited.
Press [S] to start a search. The commands are the same
as those for searching from the Main Menu and are
described in Chapter 5.
28
EDITING
EDIT-BLOCK Command <Alt-F4>
The Block Command is used to define a block of text that
will be cut, copied, or deleted. It can also be used to turn
on or off underline or bold for the entire block of text.
The cursor position when <Alt-F4> is pressed defines the
origin of the block of text. You use the cursor control
keys (e.g. the arrow keys, <Pg Up>, <End>, etc.) to define
the block of text. The current block of text is defined as
that text from the block origin to the current cursor
position. It is highlighted in reverse video.
After you have defined a block of text, you can copy it to
a temporary buffer, delete it, underline it, or convert it to
bold type. Press <Alt-F4> and the program will prompt
you:
_____________________________________________________________________
1 Cut 2 Copy 3 Delete 4 Underline 5 Bold 6 Block off: 0
_____________________________________________________________________
Press <Enter> to return to the block definition or select
one of the following:
1. Cut: The cut block command copies the block of text
into the Temporary Text Buffer where it stays until
the buffer is filled with new text. The block of text
is erased after it is copied to the buffer.
2. Copy: The copy block command copies the block of
text into the Temporary Text Buffer where it stays
until the buffer is filled with new text. This allows
you to copy the text to multiple places: within the
current record, to another record in the same file or
to another file.
29
3by5 Chapter 4
3. Delete: The delete command deletes the current block
of text, or all bold or underline within the block:
_________________________________________________________
Delete: 1 Underline 2 Bold 3 Text: 0
_________________________________________________________
Press [1] to delete all underline in the block of text.
Press [2] to delete all bold in the block of text.
Press [3] to delete all text defined by the highlight.
NO COPY IS MADE BEFORE THE TEXT IS ERASED!
Once you delete a block of text, you cannot restore
the original text.
4. Underline: underline all text in the block.
5. Bold: The bold command causes all text in the block
to be printed and displayed in bold.
6. Block Off: Press [0] to turn off the block command.
30
EDITING
EDIT-INSERT Command <Ctrl-F4>
The Insert Command allows you to insert the block of text
in the Temporary Text Buffer at the current cursor
position. The block of text must have been previously
defined by using the block Copy or Cut Commands. The
insert command can be used to move a block of text (saved
in the temporary buffer with the Copy or Cut Command)
from one record to one or more other records (within the
same file or from one file to another). This allows you to
create templates and insert them in each record you edit.
EDIT-RETRIEVE RECORD Command <Shift-F10>
This command retrieves a record from any open file and
inserts it in the record you are editing. Press <Shift-F10>
and the program will display the files that are open. If
more than one file is open, you will be asked to select a
file. Type the number of the file. The program will then
prompt you for the number of the record to retrieve.
Type the number of the record and press <Enter>.
EDIT-PRINT Command <Shift-F7>
The current record will be printed using the current print
form.
31
3by5 Chapter 4
EDIT-OTHER Command
The following commands are available under the Other
Command:
EDIT-OTHER-SHEET Command <Shift-F8>
The Sheet Command is used to change the page length and
margins of the record you are editing or the default values
for the entire file.
The following parameters can be defined:
Page Length
The Page Length is the length of the page in lines. A
standard 8.5 x 11 inch page has 66 lines (6 lines per
inch). A 3by5 card has 18 lines per page.
Left Margin
The Left Margin is the left margin for printing. The left
margin of text is always positioned at column one of the
video screen.
Right Margin
The Right Margin is the right margin of printing. Any
attempt to print past the right margin results in a carriage
return and new line feed.
Top Margin
The Top Margin is the number of lines the printer will
leave at the top of a page before printing records.
32
EDITING
Bottom Margin
The Bottom Margin is the number of lines the printer will
leave at the bottom of the page.
Conditional New Page
This parameter defines how records will be split at page
boundaries when printing. This parameter is fully defined
in Chapter 6 under the Print-Sheet Command.
33
3by5 Chapter 4
Sheet Command for Standard 3by5, Program, Macro
Reference and Reference Style Files
These files are considered data files and as such do not
contain printing information. Only the right margin can be
changed. This feature is strictly for editing purposes.
Print margins are determined by the Print Form used to
print the contents of the data file.
The following prompt will be displayed:
_____________________________________________________________________
Right margin: (11 - 120) 76
_____________________________________________________________________
You can only change the right margin of a Standard 3by5
File, 3by5 Program File and Macro File. The left margin is
fixed at column position 11 while editing.
Other Sheet parameters (e.g. page length, top and bottom
margins) are determined by the Print Form used to print
the file.
After you have typed the right margin, press <Enter> to
save the results. The setting of the right margin affects
all records in the file.
34
EDITING
Sheet Command for Print Form, Letter and Document Files
The following screen will be displayed:
_____________________________________________________________________
Page length: (0 - 66) 66
Left margin: (1 - 110) 11
Right margin: (11 - 120) 76
Top margin: (0 - 25) 6
Bottom margin: (0 - 25) 6
Conditional: (0 - 66) 1
<Esc> Cancel <F10> save
_____________________________________________________________________
Enter the values and press <F10> to save the results. The
program will prompt you:
_____________________________________________________________________
>Record< File Erase
Set values for current record only
_____________________________________________________________________
Press [R] to save the Sheet Parameters for the record you
are editing (no other records are affected).
Press [F] to make the Sheet Parameters the default values
for the entire file.
Press [E] to erase the Sheet Parameters for the current
record and reset them to the default values of the file.
35
3by5 Chapter 4
EDIT-OTHER-COUNT Command <Ctrl-F1>
The Count Command displays the number of characters in
the current record at the bottom of the screen. Press any
key to continue editing.
EDIT-OTHER-FIELD Command <Shift-F9>
The Field On/Off Command will turn off the predefined
fields in a record so that you may add additional fields to
a record or move fields around. The key works as a
toggle switch. When fields are off, <F9> or <Ctrl-Enter>
insert an end of field mark at the cursor position (|<).
EDIT-OTHER-LOAD Command
The Load Command is used to load the contents of the
current record into memory: a Print Form for Printing, a
Reference Style Form for the Reference Manager, or a
Macro record.
EDIT-OTHER-DATE Command <Shift-F5>
The Date Command is used to insert the current date,
time, or date and time at the current cursor location. The
Date Command gives you the option of changing the format
of the date (e.g 11/21/88 or 11-21-88).
36
EDITING
HOLD <Shift-F3>
The Hold Command temporarily suspends editing and
returns the program to the Main Menu. The 3by5 Status
Line at the top of the screen will display the word "Hold"
after the name of the file you were editing. You may then
perform other tasks (for example: open another file, search
or edit a file). When you are finished and are at the Main
Menu Command, press [Q] to Quit and you will be returned
to the place at which you placed editing on hold.
37
3by5 Chapter 4
QUIT COMMAND
The Quit Command has several options:
_____________________________________________________________________
>Save< Abort Next Previous Goto Bypass
Save record; return to parent task
_____________________________________________________________________
Save saves the record and returns you to the parent
task (Main Menu or Search).
Abort aborts the editing of the record. No changes
are saved, and you are returned to the parent task
(Main Menu or Search).
Next saves the record and moves to the next record.
Previous saves the record and moves to the previous
record.
Goto saves the record and allows you to select the
next record to edit.
Bypass aborts the editing of the record and allows you
to select the next record to edit.
Alternative methods of doing the above are:
<F10> or <Ctrl-PgDn> saves the edited record and
moves to the next record in the file.
<Ctrl-PgUp> saves the edited record and moves to the
previous record.
38
EDITING
This page reserved for notes.
39
3by5 Chapter 4
40